package com.bajiao.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("CouponOrderDetailsResponse")
public class CouponOrderDetailsResponse {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "优惠券名称")
    private String title;

    @ApiModelProperty(value = "范围 1-平台 2-商家专属")
    private Integer scope;

    @ApiModelProperty(value = "类型 1-折扣券 2-抵扣券")
    private Integer type;

    @ApiModelProperty(value = "面额")
    private BigDecimal quotaBD;

    @ApiModelProperty(value = "面额")
    private String quota;

    @ApiModelProperty(value = "购买数量")
    private Integer buyNum;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal payPrice;

    @ApiModelProperty("下单时间")
    private String createTimeStr;

    @ApiModelProperty(value = "0-待支付 1-待使用 2-已使用 3-已核销 4-已过期 7-退款中 8-已退款 9-已取消", required = true, position = 130)
    private Integer status;

    @ApiModelProperty("状态")
    private String statusConv;

    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("核销码")
    private String verifyCode;
    @ApiModelProperty("核销时间")
    private String verifyTimeStr;
    @ApiModelProperty("核销二维码")
    private String verifyQrCode;

    @ApiModelProperty("退款单号")
    private String refundOrderNo;
    @ApiModelProperty("退款金额")
    private BigDecimal refundPrice;
    @ApiModelProperty("退款时间")
    private String refundTimeStr;
    @ApiModelProperty("退款原因")
    private String reason;

    @ApiModelProperty("领取时间")
    private String receiveTime;
    @ApiModelProperty("失效时间")
    private String expireTime;
}
